package com.changgou.order.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

@Table(name = "tb_evaluate")
public class Evaluate implements Serializable {
    @Id
    private String id;//评价ID

    @Column(name = "spu_id")
    private String spuId;//SPU_ID
    @Column(name = "order_item_id")
    private String orderItemId;//ORDER_ITEM_ID
    @Column(name = "sku_id")
    private String skuId;//ORDER_ITEM_ID
    @Column(name = "order_id")
    private String orderId;//ORDER_ITEM_ID
    @Column(name = "name")
    private String name;//ORDER_ITEM_ID
    @Column(name = "evaluate")
    private String evaluate;//ORDER_ITEM_ID
    @Column(name = "ip")
    private String ip;//ORDER_ITEM_ID
    @Column(name = "create_time")
    private String createTime;//ORDER_ITEM_ID
    @Column(name = "detail_eval")
    private String detailEval;//ORDER_ITEM_ID
    @Column(name = "username")
    private String username;//ORDER_ITEM_ID
    @Column(name = "is_return")
    private String isReturn;//ORDER_ITEM_ID
    @Column(name = "evaluate_value")
    private String evaluatalue;//ORDER_ITEM_ID
    @Column(name = "spec")
    private String spec;//ORDER_ITEM_ID
    private List specList;

    public List getSpecList() {
        return specList;
    }

    public void setSpecList(List specList) {
        this.specList = specList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSpuId() {
        return spuId;
    }

    public void setSpuId(String spuId) {
        this.spuId = spuId;
    }

    public String getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(String orderItemId) {
        this.orderItemId = orderItemId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDetailEval() {
        return detailEval;
    }

    public void setDetailEval(String detailEval) {
        this.detailEval = detailEval;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(String isReturn) {
        this.isReturn = isReturn;
    }

    public String getEvaluatalue() {
        return evaluatalue;
    }

    public void setEvaluatalue(String evaluatalue) {
        this.evaluatalue = evaluatalue;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    @Override
    public String toString() {
        return "Evaluate{" +
                "id='" + id + '\'' +
                ", spuId='" + spuId + '\'' +
                ", orderItemId='" + orderItemId + '\'' +
                ", skuId='" + skuId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", name='" + name + '\'' +
                ", evaluate='" + evaluate + '\'' +
                ", ip='" + ip + '\'' +
                ", createTime='" + createTime + '\'' +
                ", detailEval='" + detailEval + '\'' +
                ", username='" + username + '\'' +
                ", isReturn='" + isReturn + '\'' +
                ", evaluatalue='" + evaluatalue + '\'' +
                ", spec='" + spec + '\'' +
                ", specList=" + specList +
                '}';
    }
}
